
Page({
  data: {
    person: ['蹇向秋', '瑞访天', '乐晏']
  },
  onLoad: function (options) {
    var p = this.data.person
    p.push('经语心')
    this.data.person.push('宁曼冬')
    console.log('onload',p)
    console.log('onload',this.data.person)
  },
  addpersonbyData:function(event)
  {
    var p=this.data.person
    p.push('果明')
    console.log('addpersonbyData',p)
    console.log('addpersonbyData',this.data.person)
  },
  addpersonbySetData: function (event) {
    var p = this.data.person
    p.push('犹淑慧')
    console.log('addpersonbySetData',p)
    console.log('addpersonbySetData',this.data.person)
    this.setData({ person:p})
  }
})